import request from '@/api/request3.js'
//获取订单
function getorder(data){
	return request({
		url: '/business/order/myOrderList',
		method: 'post',
		data
	})
}

//获取订单详情
function getorderdetail(data){
	return request({
		url: '/business/order/orderDetail',
		method: 'post',
		data
	})
}
//获取取号详情
function getdetailqu(data){
	return request({
		url: '/business/order/orderTreatCert',
		method: 'post',
		data
	})
}
//获取首页就诊提醒
function getjiuzhen(data){
	return request({
		url: '/business/order/todayOrderInform',
		method: 'post',
		data
	})
}
//不再提醒
function notixing(data){
	return request({
		url: '/business/order/todayNoMoreInform',
		method: 'post',
		data
	})
}
//下单接口
function doorder(data){
	return request({
		url: '/business/order/doOrder',
		method: 'post',
		data
	})
}
//取消订单
function cancelorder(data){
	return request({
		url: '/business/order/cancelOrder',
		method: 'post',
		data
	})
}
//获取支付倒计时
function getdao(data){
	return request({
		url: '/business/pay/toPayOrder',
		method: 'post',
		data
	})
}
//获取支付参数
function getzhican(data){
	return request({
		url: '/business/pay/goPayParams',
		method: 'post',
		data
	})
}
//获取温馨提示
function getwen(data){
	return request({
		url: '/business/getHosReminder',
		method: 'post',
		data
	})
}
//获取取消原因接口
function getreason(data){
	return request({
		url: '/business/order/cancelOrderReson',
		method: 'post',
		data
	})
}

export default {
	getreason,
	getwen,
	getorder,
	getorderdetail,
	getdetailqu,
	getjiuzhen,
	doorder,
	cancelorder,
	getdao,
	getzhican,
	notixing
	
}